package org.cqust.backend.repository.mission;

import org.cqust.backend.entity.mission.attempt.MissionAttempt;
import org.springframework.data.jpa.repository.JpaRepository;

import java.util.List;

public interface MissionAttemptRepository extends JpaRepository<MissionAttempt, Long> {
    List<MissionAttempt> findByUserId(Long userId);

    boolean existsByMissionVersionId(Long missionVersionId);
}
